/*
 * @Copyright: (C) 2019 Zhang Rida. All rights reserved.
 *
 * @Author: Zhang Rida
 * @Email: 215154317@qq.com
 * @FilePath: /WEILA_SDK_MODULE/src/wlsdk/src/session_module.h
 * @Date: 2021-02-27 17:08:35
 * @Description:
 *
 * @LastEditors: Zhang Rida
 * @LastEditTime: 2021-09-18 19:55:18
 */
#ifndef _SESSION_MODULE_H
#define _SESSION_MODULE_H

#include "wlsdk_define.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef enum {
    SESSION_MSG_GET_SESSIONS = 0,
    SESSION_MSG_ATTACH_SESSION,
    SESSION_MSG_CHECK_ATTACH_SESSION,
    SESSION_MSG_TMP_SESSION_KEEPTIME
} session_module_msgid;

typedef struct __session_sessioninfo {
    wl_uint64 sessionid;    // 会话id
    wl_uint16 sessiontype;  // 会话类型
} session_sessioninfo;

wl_int32 session_module_init(wlsdk_message_callback callback);
wl_int32 session_module_end(void);

#ifdef __cplusplus
}
#endif
#endif
